package com.wxmp.wxcms.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wxmp.core.page.Page;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author fuzi
 * @version 2.0
 * @date 2018-04-17 10:54:58
 */
@Data
@EqualsAndHashCode(callSuper=false)
public class UserCalc extends Page implements Serializable {
	
	
	
    /**
     * 主键
     */
    private Integer id;

    /**
     * 用户外键
     */
    private Integer userid;

    /**
     * 宽度
     */
    private Double width = 0D;

    /**
     * 厚度
     */
    private Double height= 0D;

    /**
     * 盖板厚度
     */
    private Double coverplateThick= 0D;

    /**
     * 盖板价格
     */
    private Double coverplatePrice= 0D;

    private Double bottomplateThick= 0D;

    private Double bottomplatePrice= 0D;

    private Double partitionplateThick= 0D;

    private Double partitionplatePrice= 0D;

    private Integer partitionplateNum= 0;

    /**
     * 槽式价格
     */
    private Double trenchPrice= 0D;

    private Double laddertypePrice= 0D;

    /**
     * 计算日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss",iso= DateTimeFormat.ISO.DATE_TIME)
    private Date createdate = new Date();

    private static final long serialVersionUID = 1L;
    /**
     * 密度
     */
    private  Double density = 0D;
    /**
     * 省份
     */
    private String province;
    /**
     * 是否绑定手机号
     */
    private String openid;
}